package com.psp.web.persist.dao;

import java.util.List;

import com.psp.web.model.OrderBean;

public interface OrderDao {

	int insert(OrderBean bean);

	OrderBean selectById(String oid);

	int selectCount(String uid, String orderNo, int[] state);

	List<OrderBean> selectList(Integer page, Integer pageSize, String uid, String orderNo, int[] state);

	int updateOrderState(OrderBean order, int i);

	OrderBean selectByOrderNo(String orderNo);

}
